package com.zeroext.show.service;

import java.io.InputStream;
import java.io.OutputStream;

import com.zeroext.show.entity.TreeNode;

public interface XmlService {
    TreeNode getRoot();
    TreeNode getNode(Short id);
    void exportTreeToXml(OutputStream os)throws Exception ;
    void importNodeFromXml(InputStream is,Short parent)throws Exception;
}
